<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>二手发布</title>
<link rel="stylesheet" href="css/public.css?v=0.1">
		<link rel="stylesheet" href="css/user.css">
		<link rel="stylesheet" href="css/layui.css">
		<link rel="stylesheet" href="css/publish.css">
		<script src="https://cdn.bootcss.com/jquery/2.1.4/jquery.min.js"></script>
		<script src="js/publish/common.js"></script>
		<script src="https://cdn.bootcss.com/jquery/2.1.4/jquery.min.js"></script>
		<script src="js/publish/layui.all.js"></script>
		
		<jsp:include page="navigation.jsp"/>
</head>
<body>
	<div id="main" class="clearfix">
		<h2>发布 二货</h2>
		<div class="publish-main layui-form layui-form-pane">
			<div class="input-line image">
				<input type="file" name="info" class="layui-upload-file info-img-upload">
			</div>
			<div class="layui-form-item input-line">
				<label class="layui-form-label">选择城市</label>
				<div class="layui-input-inline">
					<select name="city" class="city">
						<option value="">请选择</option>
						
						<option data-cid="1" value="1">全球</option>
						
					</select>
				</div>
				<div class="layui-form-mid layui-word-aux">注：没有找到对应城市时，请选择“全球”</div>
  			</div>
			<div class="layui-form-item input-line">
				<label class="layui-form-label">商品名称</label>
				<div class="layui-input-inline" style="width: 390px;">
					<input type="text" name="title" autocomplete="off" placeholder="请输入商品名称" class="layui-input goods-title">
				</div>
				<div class="layui-form-mid layui-word-aux">14个字以内</div>
  			</div>
  			<div class="layui-form-item layui-form-text input-line">
				<label class="layui-form-label good-description">商品详情</label>
				<div class="layui-input-block">
					<textarea placeholder="请输入商品详情" class="layui-textarea goods-des"></textarea>
				</div>
			</div>
			<div class="layui-form-item input-line" id="price">
				<label class="layui-form-label">价格</label>
				<div class="layui-input-inline">
					<input type="text" name="title" autocomplete="off" placeholder="请输入价格" class="layui-input price">
				</div>
				<div class="layui-form-mid layui-word-aux">元　　　</div>
				<label class="layui-form-label">原价</label>
				<div class="layui-input-inline">
					<input type="text" name="title" autocomplete="off" placeholder="请输入原价" class="layui-input original-price">
				</div>
				<div class="layui-form-mid layui-word-aux">元　　　</div>
				<!-- <a href="javascript:;" class="add-original-link layui-btn layui-btn-small"><i class="layui-icon" style="color: #fff;">&#xe608;</i> 添加原购买链接</a>
				<a href="javascript:;" class="close-original-link layui-btn layui-btn-small layui-btn-danger" style="display: none;">关闭购买链接</a> -->
			</div>
			<!-- <div class="layui-form-item input-line" id="original-link" style="display: none;">
				<label class="layui-form-label">原购买链接</label>
				<div class="layui-input-block">
					<input type="text" name="title" autocomplete="off" placeholder="请输入原购买链接" class="layui-input original-link">
				</div>
  			</div> -->
			<div class="layui-form-item input-line">
				<label class="layui-form-label">分类</label>
				<div class="layui-input-inline">
					<select name="categorys" id="categorys">
						<option value="">请选择分类</option>
						
						<option data-cid="1" value="1">手机</option>
						
						<option data-cid="2" value="2">电脑</option>
						
						<option data-cid="4" value="4">配件</option>
						
						<option data-cid="5" value="5">电器</option>
						
						<option data-cid="6" value="6">书籍</option>
						
						<option data-cid="7" value="7">娱乐</option>
						
						<option data-cid="8" value="8">运动</option>
						
						<option data-cid="9" value="9">代步</option>
						
					</select>
				</div>
  			</div>
			<!-- <div class="layui-form-item input-line">
				<label class="layui-form-label">交易方式</label>
				<div class="layui-input-block">
					<input type="radio" class="buyMethod" name="transactionMode" value="1" title="在线交易">
      				<input type="radio" class="buyMethod" name="transactionMode" value="2" title="线下交易">
      				<input type="radio" class="buyMethod" name="transactionMode" value="3" title="在线交易/线下交易" checked>
				</div>
  			</div> -->
			<!-- <div class="layui-form-item input-line" id="address">
				<label class="layui-form-label">交易地址</label>
				<div class="layui-input-block">
					<input type="text" name="title" autocomplete="off" placeholder="请输入交易地址" class="layui-input goods-address">
				</div>
  			</div> -->
			<div class="layui-form-item input-line" id="phoneNumber">
				<label class="layui-form-label">手机号</label>
				<div class="layui-input-inline">
					<input type="text" name="title" autocomplete="off" placeholder="请输入手机号" class="layui-input phone-number" value="18807031363">
				</div>
				<label class="layui-form-label">QQ号</label>
				<div class="layui-input-inline">
					<input type="text" name="title" autocomplete="off" placeholder="请输入QQ号" class="layui-input qq-number">
				</div>
				<!-- <label class="layui-form-label">微信号</label>
				<div class="layui-input-inline">
					<input type="text" name="title" autocomplete="off" placeholder="请输入微信号" class="layui-input wx-number">
				</div> -->
  			</div>
			<!-- <div class="layui-form-item input-line" id="qqNumber">
				<label class="layui-form-label">QQ号</label>
				<div class="layui-input-inline">
					<input type="text" name="title" autocomplete="off" placeholder="请输入QQ号" class="layui-input">
				</div>
  			</div>
			<div class="layui-form-item input-line" id="wxNumber">
				<label class="layui-form-label">微信号</label>
				<div class="layui-input-inline">
					<input type="text" name="title" autocomplete="off" placeholder="请输入微信号" class="layui-input">
				</div>
  			</div> -->
  			<div class="publish-submit">
  				<button class="layui-btn submit">确认发布</button>
  			</div>
		</div>
	</div>
	<!--底部  -->
	<jsp:include page="foot.jsp"/>
	
	<script src="js/publish/sitemap.js"></script>
	<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
	<script src="js/publish/publish.js"></script>
</body>
</html>